<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<c:if test="${sessionScope.SESSION_MNGR_INFO != null}">
<c:redirect url="${requestScope.contextPath}/business/mngr/service/serviceList.do" />
</c:if>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${requestScope.contextPath}/css/mngr/common.css" rel="stylesheet" type="text/css" />
<title>관리자 페이지 로그인</title>
<style type="text/css">
<!--
.textfield {border: 1px solid #5d6a80;}
.textfield1 {	border: 1px solid #5d6a80;}
-->
</style>
<script type="text/javascript">
	<c:if test="${param.pop eq 'Y'}">
		self.close();
		opener.reload();
	</c:if>
	function loginCheck(loginForm) {
		if(loginForm.mngrId.value=="") {
			window.alert("아이디를 입력하세요");
			loginForm.mngrId.focus();
			return false;
		}
		if(loginForm.mngrPw.value=="") {
			window.alert("비밀번호를 입력하여 주세요");
			loginForm.mngrPw.focus();
			return false;
		}
		return true;
	}
</script>
</head>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" onLoad="document.loginForm.mngrId.focus();">
<form name="loginForm" method="post" action="${requestScope.contextPath}/business/mngr/login/login.do" onsubmit="return loginCheck(this);">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" background="${requestScope.contextPath}/img/index/bg.jpg">
	<tr>
		<td align="right" valign="top" background="${requestScope.contextPath}/img/index/left_bg.jpg" style="background-repeat:no-repeat; background-position: right top">&nbsp;</td>
		<td width="750" align="center" valign="top" style="padding-top:158px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td align="center"><img src="${requestScope.contextPath}/img/com/logo.gif" width="150" height="50" /></td>
	</tr>
	<tr>
		<td height="32" background="${requestScope.contextPath}/img/index/frame_top.jpg">&nbsp;</td>
	</tr>
	<tr>
		<td height="260" align="center" background="${requestScope.contextPath}/img/index/frame_bg.jpg">
			<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="293"><img src="${requestScope.contextPath}/img/index/index_img.jpg" /></td>
				<td width="20">&nbsp;</td>
				<td valign="top">
					<table border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td><img src="${requestScope.contextPath}/img/index/index_txt01.jpg" /></td>
						</tr>
						<tr>
							<td height="130" align="center" valign="top" bgcolor="#76859e" style="padding-top:30px">
							<table border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="50" height="28"><img src="${requestScope.contextPath}/img/index/id.jpg" /></td>
								<td valign="top">
									<input name="mngrId" type="text" class="input01" id="textfield" size="28" value="" tabindex="1" /></td>
								<td width="88" rowspan="2" align="right"><input type="image" src="${requestScope.contextPath}/img/index/btn_login.jpg" border="0"  tabindex="4" /></td>
							</tr>
							<tr>
								<td><img src="${requestScope.contextPath}/img/index/pw.jpg" /></td>
								<td valign="bottom"><input name="mngrPw" type="password" class="input01" id="textfield2" size="28" tabindex="2" /></td>
							</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td><img src="${requestScope.contextPath}/img/index/index_txt02.jpg" width="383" height="26" /></td>
						</tr>
					</table>
					</td>
				</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="142" align="center" valign="top" background="${requestScope.contextPath}/img/index/frame_bottom.jpg" style="padding-top:24px"></td>
		</tr>
		</table>
	</td>
	<td align="left" valign="top"  background="${requestScope.contextPath}/img/index/right_bg.jpg" style="background-repeat:no-repeat; background-position: left top">&nbsp;</td>
</tr>
</table>
</form>
</body>
</html>

